<html>
<script>
console.log(Math.max.apply(Math, [2,100,1,6,43]));
console.log(Math.max(...[2,100,1,6,43]));
const array1 = [2,100,1,6,43];
const array2 = ['a', 'b', 'c', 'd'];
const array3 = [false, true, null, undefined];
console.log([...array1, ...array2, ...array3]);
</script>
</html>